package com.springapp.dao.dao;

import com.springapp.model.Commande;

import java.util.List;

/**
 * Created by Thomas on 24/06/14.
 */
public interface ICommandeDAO<T> {
    public void insert(Commande obj) ;
    public void delete(Commande obj);
    public boolean update(String sRef);
    public boolean updateStatusCmdAfected(String sLogin);
    public List<Commande> getAllByRef(String sRef);
    public List<Commande> getLstCmdInPrepa(String sLogin);
    public List<Commande> getLstCmd(String sLogin);
    public List<Commande> getLstCmdNotPrepared();

}
